package lemon.dog.context;

import lemon.dog.domain.User;

import lombok.extern.slf4j.Slf4j;


@Slf4j
public class BaseContext {
    private static final ThreadLocal<String> threadLocal = new ThreadLocal<>();

    public static void setToken(String token){
        threadLocal.set(token);
    }
    public static String getToken(){
        return threadLocal.get();
    }
    public static void remove(){
        threadLocal.remove();
    }
}